package com.yjs.ppjokedemo.bean;

import com.flyco.tablayout.listener.CustomTabEntity;

public class CustomEntity implements CustomTabEntity {

    private String titles;
    private int selected;
    private int unselected;

    public CustomEntity(String titles, int selected, int unselected) {
        this.titles = titles;
        this.selected = selected;
        this.unselected = unselected;
    }

    @Override
    public String getTabTitle() {
        return titles;
    }

    @Override
    public int getTabSelectedIcon() {
        return selected;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unselected;
    }
}
